<!--
/**************************************************
* @(#)organizationmodify.jsp
*
* Copyright (c) 2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2005/2/14, owen xia
*  1) first release
   2) add javascript method changelist2,implemnt select jump
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8"%>
<html>
<head>
<title>修改订货单位常用联系方式</title>
<%@ include file="../common.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="<%=root%>/css/caigouxitong.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<SCRIPT language="JavaScript" src="<%=root%>/js/hi-check.js"></SCRIPT>
<%
  if(message == null){
%>
<script>
   //返回
   function back(){
  //  checkform.action='<%=root%>/A400801.do';
   // checkform.submit();
    self.close();
   }
 
		
  	function check_old(){ 
  	   
	  /**  var iFields1 = new Array(10);
        iFields1[0] = 'gs_org_id||机构编号||Y||4||#0';
        iFields1[1] = 'gs_org_name||机构名称||Y||1-50||##';
        iFields1[2] = 'gs_upper_orgId||上级组织机构编号||Y||4||#0';
        iFields1[3] = 'gs_org_addr||机构地址||N||1-50||##';
        iFields1[4] = 'gs_org_post||机构邮编||N||1-20||#0';
        iFields1[5] = 'gs_org_phone||机构电话||N||1-50||#A';
        iFields1[6] = 'gs_org_fax||机构传真||N||1-50||#A';
        iFields1[7] = 'gs_principal_name||负责人姓名||N||1-50||##';
        iFields1[8] = 'gs_principal_phone||负责人电话||N||1-50||#A';
        iFields1[9] = 'gs_principal_email||负责人电子邮件||N||1-50||#M';
        
        if( HiScript.value(checkform.name,iFields1) == false)  return false;
	    **/
	    checkform.action="<%= response.encodeURL(request.getContextPath() + "/A400806.do") %>";   
		document.checkform.submit();
		window.returnValue = '1';
		window.close();
	}
	
	function check(){
		var arrayR = new Array();
		arrayR[0] = document.getElementById("gs_deliver_goods_addr_id").value;
		arrayR[1] = document.getElementById("gs_org_id").value;
		arrayR[2] = document.getElementById("gs_deliver_goods_addr").value;
		if (isEmpty(arrayR[2]))
		{
			alert("送货地址不能为空！");
			return false;
		}
		arrayR[3] = document.getElementById("gs_order_contact_name").value;
		arrayR[4] = document.getElementById("gs_order_contact_phone").value;
		window.returnValue = arrayR;
		window.close();
	}
		
		</script>
</head>
<body BGCOLOR="#f2f2f2" text="#000000" leftmargin="0" topmargin="0"  marginwidth="0" marginheight="0">
<p><br>
</p>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="20">
		<table width="100%" border="0" cellspacing="0" cellpadding="1">
			<tr height="20">
				<td height="20" width="1" class="mtxt_black">&nbsp;</td>
				<td height="30" width="758" class="mtxt_black">修改订货单位常用联系方式</td>
			</tr>
		</table>
		</td>
	</tr>
	<tr>
		<td class="bg_line" height="2"></td>
	</tr>
</table>

<br>
<%
  GSOrderDeptInfoBean tGSOrderDeptInfoBean = (GSOrderDeptInfoBean)request.getAttribute("OrderDeptInfoBean");

%>
<!--修改订货单位常用联系方式--------------------------------------------------------------------------------------------------------------------------->
<form name="checkform" action="" method="post">



<table width="90%" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tr>
		<td>
		<table class=bg_table id=tableId cellspacing=1 cellpadding=0
			style="padding-left:5;padding-right:5" width=100% align=center
			border=0>
			<TR class="bg_column" height=20>
				<TD colspan="4">修改订货单位常用联系方式</TD>
			</TR>
			<TR class="bg_row_odd" height=20>
				<TD align=right width="20%">订货单位编号</TD>
				<TD align=left width="30%">
				<input type="hidden" id="gs_deliver_goods_addr_id" name="gs_deliver_goods_addr_id" value="<%=tGSOrderDeptInfoBean.getGs_deliver_goods_addr_id()%>">
				<input type="hidden" id="gs_org_id" name="gs_org_id" value="<%=tGSOrderDeptInfoBean.getGs_org_id()%>">
				<%=tGSOrderDeptInfoBean.getGs_org_id()%>
				</TD>
				
			</TR>
			<TR class="bg_row_odd" height=20>
				<TD align=right>送货地址</TD>
				<TD align=left>
				<input type=text id="gs_deliver_goods_addr" name="gs_deliver_goods_addr" maxlength="50" size=30 value="<%=tGSOrderDeptInfoBean.getGs_deliver_goods_addr()%>"/>
				<font color='red'>&nbsp;*</font>
				</TD>
				
			</TR>
			<TR class="bg_row_odd" height=20>
				<TD align=right>订货联系人姓名</TD>
				<TD align=left>
				<input type=text id="gs_order_contact_name" name="gs_order_contact_name" maxlength="50" size=30 value="<%=tGSOrderDeptInfoBean.getGs_order_contact_name()%>"/>
				</TD>
				
			</TR>
			<TR class="bg_row_odd" height=20>
				<TD align=right>订货联系电话</TD>
				<TD align=left>
				<input type=text id="gs_order_contact_phone" name="gs_order_contact_phone" maxlength="50" size=30 value="<%=tGSOrderDeptInfoBean.getGs_order_contact_phone()%>"/>
				</TD>
				
			</TR>
		   
			
		
		</TABLE>
		</td>
	</tr>
	
</table>

</form>

<!----------------------------------------------------------------------------------------------------------------------------------->
<p align="center">
<input type="button" class="kuang" value="修改" onclick="return check();"> 
<input type="button" class="kuang" value="关闭" onclick="return back();"></p>
<p>
<p>
<p>
<p><br>
<br>
<br>
<br>
<br>
<%} %>
</body>
</html>
